<!DOCTYPE html>
<html>
<head>
<title>微信用户</title>
#parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
			<div class="grid-btn">
			#if($shiro.hasPermission("weixinuser:save"))
			<a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			#end
			#if($shiro.hasPermission("weixinuser:update"))
			<a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			#end
			#if($shiro.hasPermission("weixinuser:delete"))
			<a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			#end
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
										
	
							<div class="form-group">
			   	<div class="col-sm-2 control-label">openId</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="weixinUser.openid" placeholder="openId"/>
			    </div>
			</div>
					
	
							<div class="form-group">
			   	<div class="col-sm-2 control-label">微信昵称</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="weixinUser.nickname" placeholder="微信昵称"/>
			    </div>
			</div>
					
	
							<div class="form-group">
			   	<div class="col-sm-2 control-label">性别</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="weixinUser.sex" placeholder="性别"/>
			    </div>
			</div>
					
	
							<div class="form-group">
			   	<div class="col-sm-2 control-label">城市</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="weixinUser.city" placeholder="城市"/>
			    </div>
			</div>
					
	
							<div class="form-group">
			   	<div class="col-sm-2 control-label">省份</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="weixinUser.province" placeholder="省份"/>
			    </div>
			</div>
					
	
							<div class="form-group">
			   	<div class="col-sm-2 control-label">国家</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="weixinUser.country" placeholder="国家"/>
			    </div>
			</div>
					
	
							<div class="form-group">
			   	<div class="col-sm-2 control-label">头像</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="weixinUser.headimgurl" placeholder="头像"/>
			    </div>
			</div>
					
	
										<div class="form-group">
			   	<div class="col-sm-2 control-label">日期：</div>
			   	<div class="col-sm-10">
			     <input class="Wdate" type="text" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',readOnly:true,onpicked:function(dp){vm.weixinUser.subscribetime=dp.cal.getDateStr();}})" v-model="weixinUser.subscribetime"> 
			     
			    </div>
			</div>
			
	
							<div class="form-group">
			   	<div class="col-sm-2 control-label">最后消息正文</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="weixinUser.lastcontent" placeholder="最后消息正文"/>
			    </div>
			</div>
					
	
							<div class="form-group">
			   	<div class="col-sm-2 control-label">最后消息</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="weixinUser.lastmsg" placeholder="最后消息"/>
			    </div>
			</div>
					
	
										<div class="form-group">
			   	<div class="col-sm-2 control-label">日期：</div>
			   	<div class="col-sm-10">
			     <input class="Wdate" type="text" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',readOnly:true,onpicked:function(dp){vm.weixinUser.lasttime=dp.cal.getDateStr();}})" v-model="weixinUser.lasttime"> 
			     
			    </div>
			</div>
			
	
							<div class="form-group">
			   	<div class="col-sm-2 control-label">sys_user.id</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="weixinUser.userid" placeholder="sys_user.id"/>
			    </div>
			</div>
					
	
										<div class="form-group">
			   	<div class="col-sm-2 control-label">日期：</div>
			   	<div class="col-sm-10">
			     <input class="Wdate" type="text" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',readOnly:true,onpicked:function(dp){vm.weixinUser.createtime=dp.cal.getDateStr();}})" v-model="weixinUser.createtime"> 
			     
			    </div>
			</div>
			
	
				
		
			<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>
</div>

<script src="${rc.contextPath}/js/sys/weixinuser.js?_${date.systemTime}"></script>
</body>
</html>